<?php

class Travel extends Goods {
	public $travel_city;
	public $departure_city;
	public $travel_type;
	public $traffic_type;
	public $scopeVal;
	
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function scopes() {
		return array(
			// 出国游
			'exitTravel' => array(
				'condition' => 'profile.travel_province = 35'
			),
			'internalTravel' => array(
				'condition' => 'profile.travel_province <> 35'
			),
		);
	}
}

?>